﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.Table
{
    [SqlSugar.SugarTable("trace_spot_weld")]
    public class TraceSpotWeld : ITraceId
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        [SugarColumn(ColumnName = "order_code")]
        public string OrderCode { get; set; }
        [SugarColumn(ColumnName = "trace_id")]
        public string TraceId { get; set; }
        [SugarColumn(ColumnName = "weld_no")]
        public string WeldNo { get; set; }
        [SugarColumn(ColumnName = "welding_program_number")]
        public string WeldingProgramNumber { get; set; }
        [SugarColumn(ColumnName = "welding_pressure")]
        public string WeldingPressure { get; set; }
        [SugarColumn(ColumnName = "welding_time1")]
        public string WeldingTime1 { get; set; }
        [SugarColumn(ColumnName = "welding_current1")]
        public string WeldingCurrent1 { get; set; }
        [SugarColumn(ColumnName = "welding_time2")]
        public string WeldingTime2 { get; set; }
        [SugarColumn(ColumnName = "welding_current2")]
        public string WeldingCurrent2 { get; set; }
        [SugarColumn(ColumnName = "welding_time3")]
        public string WeldingTime3 { get; set; }
        [SugarColumn(ColumnName = "welding_current3")]
        public string WeldingCurrent3 { get; set; }
        [SugarColumn(ColumnName = "dot_count")]
        public string DotCount { get; set; }
        [SugarColumn(ColumnName = "electrode_lifespan")]
        public string ElectrodeLifespan { get; set; }
        [SugarColumn(ColumnName = "welding_resistance")]
        public string WeldingResistance { get; set; }
        [SugarColumn(ColumnName = "welding_heat")]
        public string WeldingHeat { get; set; }
        [SugarColumn(ColumnName = "welding_spatter")]
        public string WeldingSpatter { get; set; }
        [SugarColumn(ColumnName = "welding_spatter_occurrence_time")]
        public DateTime WeldingSpatterOccurrenceTime { get; set; }
        [SugarColumn(ColumnName = "welding_current_upper_limit")]
        public string WeldingCurrentUpperLimit { get; set; }
        [SugarColumn(ColumnName = "welding_current_reference_value")]
        public string WeldingCurrentReferenceValue { get; set; }
        [SugarColumn(ColumnName = "welding_current_lower_limit")]
        public string WeldingCurrentLowerLimit { get; set; }
        [SugarColumn(ColumnName = "welding_energy_upper_limit")]
        public string WeldingEnergyUpperLimit { get; set; }
        [SugarColumn(ColumnName = "welding_energy_reference_value")]
        public string WeldingEnergyReferenceValue { get; set; }
        [SugarColumn(ColumnName = "welding_energy_lower_limit")]
        public string WeldingEnergyLowerLimit { get; set; }
        [SugarColumn(ColumnName = "welding_resistance_upper_limit")]
        public string WeldingResistanceUpperLimit { get; set; }
        [SugarColumn(ColumnName = "welding_resistance_reference_value")]
        public string WeldingResistanceReferenceValue { get; set; }
        [SugarColumn(ColumnName = "welding_resistance_lower_limit")]
        public string WeldingResistanceLowerLimit { get; set; }
        [SugarColumn(ColumnName = "number_of_welds")]
        public string NumberOfWelds { get; set; }
        [SugarColumn(ColumnName = "production_count")]
        public string ProductionCount { get; set; }
        [SugarColumn(ColumnName = "step_increment_section_number")]
        public string StepIncrementSectionNumber { get; set; }
        [SugarColumn(ColumnName = "operation_id")]
        public string OperationId { get; set; }
        [SugarColumn(ColumnName = "robot_id")]
        public string RobotId { get; set; }
    }
}
